﻿using netcore_service.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace netcore_service.IService
{
    public interface IUserConnectionManager
    {
        Task AddConnection(string userId, string connectionId, UserRole role, string school);
        Task RemoveConnection(string connectionId);
        Task<List<string>> GetUserConnections(string userId);
        Task<List<string>> GetOnlineAgents(string school);
        Task<List<string>> GetOnlineCustomers();
        Task<string?> GetUserIdByConnection(string connectionId);
    }
}
